<?php
if (!defined('baseinfo')) {
    exitdata();
}   
?>
<div id="homeBnn" class="wrpInSldCt1 bnnHome">
     <?
        if(count($data['nowfeature']['bannermain']['web'])&&$data['nowfeature'])
     {
     $k=0;
     foreach($data['nowfeature']['bannermain']['web'] as $valuebanner)
     {
     ?>
     <div class="wrpImgBnnHome">
        <a href="javascript:statdatalink('<?=$data['nowfeature']['bannermain']['web'][$k]['link']?>',<?=$data['nowfeature']['bannermain']['web'][$k]['bannerid']?>)"  ><img src="<?=bannerinfo?>/<?=$valuebanner['img']?>" alt="img" width="960" height="300" class="imgBnnHome1"></a>
    </div>
     <?
     $k++;
     }
     }
     else if(count($data['bannerweb']['img']))
     {
     $k=0;
     foreach($data['bannerweb']['img'] as $valuebanner)
     {
     ?>
     <div class="wrpImgBnnHome">
        <a href="javascript:statdatalink('<?=$data['bannerweb']['link'][$k]?>',<?=$data['bannerweb']['bannerid'][$k]?>)"  ><img src="<?=bannerinfo?>/<?=$valuebanner?>" alt="img" width="960" height="300" class="imgBnnHome1"></a>
    </div>
     <?
     $k++;
     }
     }
     else{?><?}?>
    
    
</div>